﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hi_Baidu;

namespace Hi_Baidu.FileShare.ListType
{
    /// <summary>
    ///     文件分布传送，封包片数据类型
    /// </summary>
    public class TYPE_DetachFileData : IMetaData
    {
        public TYPE_DetachFileData(String Key)
        {
            key = Key;
        }

        private int _DetachDataSize;
        /// <summary>
        ///     封包片数据大小
        /// </summary>
        public int DetachDataSize
        {
            get { return _DetachDataSize; }
            set { _DetachDataSize = value; }
        }
        private int _DetachPackageId;
        /// <summary>
        ///     封包片ID
        /// </summary>
        public int DetachPackageId
        {
            get { return _DetachPackageId; }
            set { _DetachPackageId = value; }
        }
        private byte[] _DetachData;
        /// <summary>
        ///     封包片数据
        /// </summary>
        public byte[] DetachData
        {
            get { return _DetachData; }
            set { _DetachData = value; }
        }

        #region IMetaData 成员
        private String key;
        public string Key
        {
            get
            {
                return key;
            }
            set
            {
                key = value;
            }
        }

        #endregion
    }
}
